import request from '/@/utils/request';
enum Api {
    Pagecms_Site = '/api/cms_Site/Page',
    Addcms_Site= '/api/cms_Site/add',
	Editcms_Site= '/api/cms_Site/update',
	Delcms_Site= '/api/cms_Site/delete',
}
/**获取分页 */
export const pageCms_Site = (params?: any) =>
    request({
        url: Api.Pagecms_Site,
        method: 'post',
        data: params,
    });
	

	// 增加
	export const addCms_Site = (params?: any) =>
		request({
			url: Api.Addcms_Site,
			method: 'post',
			data: params,
		});
	
/**保存 */
export const editCms_Site = (params?: any) =>
    request({
        url: Api.Editcms_Site,
        method: 'post',
        data: params,
    });
/**删除 */
export const deleteCms_Site = (params?: any) =>
    request({
        url: Api.Delcms_Site,
        method: 'post',
        data: params,
    });
